package org.jeecg.modules.publish.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.annotations.Table;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * @Description: third_read_num
 * @Author: jeecg-boot
 * @Date:   2021-08-16
 * @Version: V1.0
 */
@Data
@TableName("third_read_num")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="third_read_num对象", description="third_read_num")
public class ThirdReadNum {

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private String id;
	/**readNum*/
	@Excel(name = "readNum", width = 15)
    @ApiModelProperty(value = "readNum")
	private Integer readNum;
	/**contentId*/
	@Excel(name = "contentId", width = 15)
    @ApiModelProperty(value = "contentId")
	private String contentId;
	/**1  微信   2 微博  3 抖音*/
	@Excel(name = "1  微信   2 微博  3 抖音", width = 15)
    @ApiModelProperty(value = "1  微信   2 微博  3 抖音")
	private Integer type;
	/**createTime*/
	@Excel(name = "createTime", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
	private java.util.Date createTime;


	@TableField(exist = false)
	private  float score =0f;


	@TableField(exist = false)
	private  String  userId ;


	@TableField(exist = false)
	private  String  taskId ;


	private Integer loveNum;
	private Integer repostsNum;
}
